package com.magicalcoder.ioc;

import com.magicalcoder.pigeon.ioc.anotation.Resource;
import com.magicalcoder.pigeon.ioc.anotation.Service;

/**
 * Created by hzhedongyu on 2017/6/12.
 */
@Service(value = "nameService")
public class NameServiceImpl implements NameService {
    @Resource("userService")
    private UserService userService;

    @Override
    public String name() {
        return "name";
    }
}
